SmtpClient emailClient =
new
SmtpClient(
"localhost"
);
emailClient.Send(
"from@server.com"
,
"to@server.com"
,
"Subject"
,
"Body"
);